'use strict';

var React = require('react');
var Router = require('react-router'); 

var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;

var Menu = require('../modules/menu.jsx');
var Header = require('../modules/header.jsx');
var User = require('../modules/userinfo.jsx');

var App = React.createClass({
  render: function() {
    return (
      /* jshint ignore:start */
      <div className="container">
            <Header></Header>
            <div className="do-container-left" >
                  <User></User>
                  <Menu></Menu>
            </div>
            <div className="do-container-right" >
                  <RouteHandler {...this.props}/>
            </div>
      </div>
      /* jshint ignore:end */
    );
  }
});

module.exports =App;